:root {
  --primary: #1890ff;
  --primary-o: rgba(24, 144, 255, 0.16);
  --info: #2080f0;
  --info-o: rgba(32, 128, 240, 0.16);
  --success: #21b978;
  --success-o: rgba(24, 160, 88, 0.16);
  --danger: #ea5455;
  --danger-o: rgba(208, 48, 80, 0.16);
  --warning: #f0a020;
  --warning-o: rgba(240, 160, 32, 0.16);
  --bg-color: #f6f8f9;
  --border-color: rgba(239, 239, 245, 1);
}

body {
  overflow-x: hidden;
}

body:not(.dark-mode) .table-collapse .custom-data-table {
  background: #fff !important;
}

body:not(.dark-mode) .table-collapse {
  background: #fff !important;
}

table.data-table {
  border-collapse: collapse !important;
}

.main-footer {
  display: none;
}

.content .content-wrapper {
  padding: 5.7rem 1.5rem 0;
}

html body {
  background: var(--bg-color);
}

.body-bg, .content-wrapper {
  background: var(--bg-color);
}

.main-sidebar, .main-sidebar:before {
  width: 240px;
}

.header-navbar.fixed-top {
  left: 240px;
}

.content-wrapper {
  margin-left: 240px !important;
}

.content-header {
  padding-bottom: 10px;
}

.content-header h1 {
  font-size: 20px;
}

.content-header .breadcrumbs-top {
  padding: 0;
}

.breadcrumbs-top {
  margin-bottom: 0;
}

.dcat-box {
  background: #fff;
  padding: 15px;
  border-radius: 5px;
}

.dcat-box > .box-footer {
  padding: 15px 0 0 !important;
}

.content-body:only-child .row:only-child .col-md-12 {
  background: red !important;
}

body:not(.dark-mode) .table-collapse {
  box-shadow: 0 0 0 0 rgb(0 0 0 / 5%);
  border: 0.1px solid var(--border-color) !important;
  border-radius: 5px;
  background: #fafafc !important;
}

.table-collapse .table.custom-data-table {
  border-radius: 5px;
}

.table-collapse .table.custom-data-table > thead {
  background: #fafafc !important;
  border-bottom: 0.1px solid var(--border-color) !important;
}

.table-collapse .table-fixed th {
  background: #fafafc !important;
}

table.custom-data-table.data-table thead th {
  padding: 1rem .51rem;
}

table.custom-data-table.data-table tbody td {
  height: auto !important;
  padding: 1rem .51rem;
}

/*.box-body, .box-footer {*/
/*    padding: 10px 0;*/
/*}*/

.quick-search-input {
  box-shadow: 0 0 0 0 !important;
  background: var(--bg-color) !important;
}

.btn.btn-default, .btn.btn-white {
  box-shadow: 0 0 0 0 !important;
  border: 1px solid var(--border-color) !important;
}

.btn-group-sm > a.btn, a.btn-sm {
  line-height: 1.5 !important;
}

.table-filter {
  line-height: 1.5 !important;
}


table.custom-data-table.data-table thead th:first-child {
  padding-left: 1rem !important;
}

.pagination {
  box-shadow: 0 0 0 0 !important;
}

.pagination .page-item .page-link {
  background: var(--bg-color);
}

.pagination .page-item.active {
  background: var(--bg-color);
}

.pagination .page-item:not(.active) .page-link, .pagination .page-item:not(.first) .page-link, .pagination .page-item:not(.last) .page-link, .pagination .page-item:not(.next-item) .page-link, .pagination .page-item:not(.prev-item) .page-link {
  line-height: 1.1;
}

.pagination {
  padding-top: 2px;
}

.btn {
  height: 34px;
  border-radius: 3px;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 0 0 0;
}

.btn-group {
  box-shadow: 0 0 0 0 !important;
}

.btn-default:hover {
  border: 1px solid var(--primary) !important;
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  border: 0 !important;
}

.btn-primary:hover {
  background: var(--primary) !important;
}

.btn-outline-primary {
  background: var(--primary-o);
  border: 0;
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-o);
  border: 0;
  color: var(--primary);
}

.btn-info {
  background: var(--info);
  border-color: var(--info);
  color: #fff !important;
  border: 0 !important;
}

.btn-info:hover {
  background: var(--info);
  border-color: var(--info);
}

.btn-outline-info {
  background: var(--info-o);
  border: 0;
  color: var(--info);
}

.btn-outline-info:hover {
  background: var(--info-o);
  border: 0;
  color: var(--info);
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
  color: #fff !important;
  border: 0 !important;
}

.btn-success:hover {
  background: var(--success);
  border-color: var(--success);
}

.btn-outline-success {
  background: var(--success-o);
  border: 0;
  color: var(--success);
}

.btn-outline-success:hover {
  background: var(--success-o);
  border: 0;
  color: var(--success);
}

.btn-warning {
  background: var(--warning);
  border-color: var(--warning);
  color: #fff !important;
  border: 0 !important;
}

.btn-warning:hover {
  background: var(--warning);
  border-color: var(--warning);
}

.btn-outline-warning {
  background: var(--warning-o);
  border: 0;
  color: var(--warning);
}

.btn-outline-warning:hover {
  background: var(--warning-o);
  border: 0;
  color: var(--warning);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff !important;
  border: 0 !important;
}

.btn-danger:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.btn-outline-danger {
  background: var(--danger-o);
  border: 0;
  color: var(--danger);
}

.btn-outline-danger:hover {
  background: var(--danger-o);
  border: 0;
  color: var(--danger);
}

.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--primary);
}

.toast {
  box-shadow: 0 0 0 0 !important;
}

.toast-success {
  background: var(--success);
  border: 0;
}

.toast-info {
  background: var(--info);
  border: 0;
}

.toast-warning {
  background: var(--warning);
  border: 0;
}

.toast-error {
  background: var(--danger);
  border: 0;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary);
}

.nav-link .active {
  color: var(--primary) !important;
}

.sidebar-light-primary .nav-item > .nav-link.active {
  color: var(--primary) !important;
}

.main-menu .navbar-header .logo-mini {
  color: var(--primary);
}

.main-menu .navbar-header .logo-lg {
  color: var(--primary);
}

.header-navbar .navbar-container ul.nav li a.dropdown-user-link img {
  box-shadow: 0 0 0 0;
}

.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:active, .header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover {
  background: var(--primary);
  color: #fff;
  border-radius: 5px;
}

.webuploader-pick {
  background: var(--primary) !important;
}

.box.box-solid.box-default {
  box-shadow: 0 0 0 0;
}

.tox-tinymce {
  border-radius: .25rem !important
}

#nprogress .bar {
  background: var(--primary);
}

#nprogress .peg {
  box-shadow: 0 0 0;
}

.pagination .page-item.active .page-link {
  background: var(--primary);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: var(--primary) !important;
}

.form-control:focus {
  border-color: var(--primary) !important;
}

.vs-checkbox-con input:checked ~ .vs-checkbox {
  border-color: var(--primary) !important;
}

.vs-checkbox-con input:checked ~ .vs-checkbox .vs-checkbox--check {
  background: var(--primary) !important;
}

.select2-container--default .select2-dropdown .select2-search__field:focus, .select2-container--default .select2-search--inline .select2-search__field:focus {
  border-color: var(--primary) !important;
}

.layui-layer-btn .layui-layer-btn0 {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-info {
  color: var(--info) !important;
}

.text-custom {
  color: var(--info) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.text-danger {
  color: var(--danger) !important;
}

.bg-primary {
  background: var(--primary) !important;
}

.bg-info {
  background: var(--info) !important;
}

.bg-success {
  background: var(--success) !important;
}

.bg-warning {
  background: var(--warning) !important;
}

.bg-danger {
  background: var(--danger) !important;
}

.progress-bar {
  background: var(--primary) !important;
}

.vs-radio--circle {
  background: var(--primary) !important;
  box-shadow: 0 0 0 0 !important;
}

.alert-danger {
  background: rgba(251, 238, 241, 1) !important;
  border: 1px solid var(--danger) !important;
  color: var(--danger) !important;
  box-shadow: 0 0 0 0;
}

.alert-warning {
  background: rgba(254, 247, 237, 1) !important;
  border: 1px solid var(--warning) !important;
  color: var(--warning) !important;
  box-shadow: 0 0 0 0;
}

.alert-success {
  background: rgba(237, 247, 242, 1) !important;
  border: 1px solid var(--success) !important;
  color: var(--success) !important;
  box-shadow: 0 0 0 0;
}

.alert-info {
  background: rgba(237, 245, 254, 1) !important;
  border: 1px solid var(--info) !important;
  color: var(--info) !important;
  box-shadow: 0 0 0 0;
}

.callout.callout-primary {
  border-left: 3.5px solid var(--primary);
}

.editormd {
  border-radius: .25rem;
}

.tox-tinymce {
  border-radius: .25rem;
}

.tox-statusbar__branding {
  display: none;
}


/*================================================= 侧边菜单调整 begin ======================================================*/
.main-sidebar .nav .nav-item .nav-link {
  margin: 0 8px;
  padding: 10px 10px 10px 15px !important;
  border-radius: 5px;
}

.sidebar-collapse .main-sidebar .nav .nav-item .nav-link {
  padding: 8px 14px 8px 15px !important;
  margin: 0 8px 0 8px !important;
  border-radius: 5px;
}

.main-sidebar .nav-treeview .nav .nav-item .nav-link {
  padding: 8px 15px 8px 25px;
  margin: 0 8px;
  border-radius: 5px;
}

.sidebar-collapse [class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link i {
  margin-left: -10px !important;
}

.sidebar-light-primary .nav-item > .nav-link.active {
  font-weight: normal;
}

.nav-sidebar .nav-treeview > .nav-item {
  padding: 5px 0;
}

.nav.nav-pills > .nav-item {
  padding: 3px 0;
}

.main-sidebar .nav-treeview.nav .nav-item .nav-link {
  padding: 10px 10px 10px 25px !important;
}

.main-sidebar .nav-treeview.nav .nav-item .nav-link:hover {
  background: #f5f5f5;
}

.main-sidebar .nav .nav-item .nav-link:hover {
  background: #f5f5f5;
}

[class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active {
  background: var(--primary-o) !important;
}

[class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active:hover {
  background: var(--primary-o) !important;
}

[class*=sidebar-light-] .nav-sidebar > .nav-item > .nav-link.active {
  background: var(--primary-o) !important;
}

[class*=sidebar-light-] .nav-sidebar > .nav-item > .nav-link.active:hover {
  background: var(--primary-o) !important;
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
  top: auto !important;
}

/*================================================= 侧边菜单调整 end ======================================================*/

.vs-checkbox-con .vs-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid #b8c2cc;
}

.nav.nav-tabs {
  border: none;
  margin-bottom: -5px;
  padding-bottom: 10px;
  border-radius: 0;
  line-height: 1;
}

.modal-content {
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2) !important;
}

/*筛选边距*/
.filter-box {
  padding: .5rem !important;
}
